package cn.alm.template_backend_project.controller;

import cn.alm.template_backend_project.common.CommonResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {

    @GetMapping("hello")
    public CommonResponse hello() {
        return new CommonResponse(200, "请求成功！", "Hello World!");
    }

}
